<template>

	<view class="content">
		<view class="user_from">
			<uni-forms ref="form" >
				<view class="logo_img">
					<image mode="aspectFill" src="/static/logo.png"></image>
				</view>
				<view class="logo_txt">
					永冠胶带，专注做好胶带
				</view>
				

				<view v-for="(item,index) in formField" :key="index">
					<uni-forms-item v-if="item.field_type!='checkbox'"  :label="item.title" :name="item.name">
						<uni-easyinput :type="item.field_type" v-model="formData[item.name]" :placeholder="'请输入'+item.title"  clearable="false"/>
					</uni-forms-item>
				</view>
				
				<view style="margin-bottom: 80rpx;margin-top: 30rpx;">
					<button type="default" class="button" style="background-color: #910a15;color: #fff; font-size: 30rpx;" @click="getUserProfile">点击授权</button>				
				</view>
			</uni-forms>
		</view>
		
	</view>

</template>


<script>
	import {index} from './index.js';
	export default {mixins: [index]}
</script>


<style>
	@import './index.css';
</style>
